package com.jsu.springboot_crop.dao;

import com.jsu.springboot_crop.entity.Bank;
import com.jsu.springboot_crop.entity.Finance;
import com.jsu.springboot_crop.entity.Recommend;

import java.util.List;

/**
 * @Author wang
 * @Date 2023/8/26 15:31
 */
public interface BankDao {
    //查询所有银行
    public List<Bank> selectAllBank();
    //银行查询融资列表
    public List<Recommend> selectRecommendFromOrder();
    //根据银行id查询融资情报
    public List<Finance> selectByBankId(Integer bankId);
    //根据银行id与申请人查询融资情报
    public List<Finance> selectByIdName(Integer bankId,String name);
    //根据融资id查询融资情报
    public Finance selectFinanceById(Integer financeId);
    //银行融资修改
    public void updateByFinance(Finance finance);

    public Bank selectBankById(Integer bankId);

    String getPic(Integer id);
    String selectBankName(Integer bankid);
    List<Finance> selectByFinance(Finance finance);
}
